import {Action} from '../../config'

export const Mat = {
	dataSource: 	"#dataSource#",
	lineStyle : 	"#lineStyle#",
	placeholder: 	"#placeholder#",
	label : 		"#label#",
	point : 		"#point#",
	color : 		"#color#",
	stepnum : 		"#stepnum#",
	labeltext : 	"#labeltext#",
	stroke: 		"#stroke#",
	fill : 			"#fill#"
}
export const ColorStyle = {
	fill:{
		name:"fillStyle",
		desc:"填充色"
	},
	stroke:{
		name:"strokeStyle",
		desc:"描边色"
	}
}
export const PointLabelMap = {
	[Action.Angle]:["中心点","半径点","角度点"],
	[Action.Circle]:["中心点","半径点"],
	[Action.Circle3p]:["控制点","控制点","控制点"],
	[Action.CircleOuter]:["中心点","半径点"],
	[Action.Ellipse]:["中心点","半径点"],
	// [Action.func]:Icon.func,
	[Action.Image]:["起始点"],

	[Action.CircleCut]:["切线点"],
	[Action.CutLine]:["起始点","切线点","切线点"],
	[Action.Line]:["起始点","控制点"],
	[Action.Linend]:["起始点","结束点"],
	[Action.Ray]:["起始点","控制点"],
	[Action.Rect]:["起始点","控制点"],
	[Action.Text]:["坐标点"],
	[Action.Polygon]:["中心点","半径点"],
	[Action.Point]:["坐标点"],
	default:["坐标点"]
	// [Action.pen]:Icon.pen
}